# FROM registry-vpc.cn-beijing.aliyuncs.com/geohey/node:v8.12.0

FROM node:8.12.0
WORKDIR /var/geohey

# 安装项目依赖包
COPY ./package.json ./package.json

# 安装module
RUN npm install

WORKDIR /var/geohey/server

EXPOSE 9090

CMD [ "node", "app.js" ]